package lgs.hm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import lgs.hm.mapper.DeptMapper;
import lgs.hm.model.Dept;
import lgs.hm.service.DeptService;

@Service
public class DeptServiceImpl implements DeptService {
	@Resource
	private DeptMapper deptMapper;

	@Override
	public List<Dept> allDept() {
		return deptMapper.allDept();
	}

}
